package com.ycj.config;

import com.ycj.dao.TestDao;
import lombok.extern.java.Log;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

@Log
@Configuration
@Order(3)
public class ThirdConfig {
    @Bean
    public static TestDao testDao() {
        log.info(ThirdConfig.class.getName() + "  init...");
        return new TestDao();
    }
}
